import { Component, OnDestroy } from '@angular/core';

@Component({
  selector: 'ngx-sample-layout',
  styleUrls: ['./sample.layout.scss'],
  template: `
    <nb-layout [class.layout-font-size]="fontSize" windowMode>
      <nb-layout-header fixed>
        <ngx-header></ngx-header>
      </nb-layout-header>
      <nb-layout-column class="main-content">
        <ng-content select="router-outlet"></ng-content>
      </nb-layout-column>
    </nb-layout>
  `,
})
export class SampleLayoutComponent implements OnDestroy {
  fontSize : string = "2rem";

  constructor() {
  }

  ngOnDestroy() {

  }
}
